<template>
    <ul>
      <li>消息编号:{{this.$route.query.id}}</li>
      <li>消息标题：{{this.$route.query.title}}</li>
    </ul>
</template>

<script>
export default {
  name: "Detail",
  mounted() {
  //  里面有一个this.$route.query 可以拿到数据
  }
}
</script>

<style scoped>

</style>